package com.pozu.new_retail.dao.model;

import java.io.Serializable;

/***
 * 点赞信息
 * @author ChaoDaiJin
 * @description 
 * @date 2018年4月18日 下午5:06:52
 */
public class Upvote implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    
    /** 默认0UGC内容点赞1评论点赞 **/
    private Integer type;
    
    /** type为0则是UGC内容id type为1则是commentId */
    private Long otherId;
    
    /** 点赞用户Id */
    private Long userId;
    
    /** 创建时间 */
    private Long createdTime;
    
    /** 更新时间 */
    private Long updatedTime;
    
    /** 0默认1删除 */
    private Integer state;
    
    private Integer appId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getOtherId() {
		return otherId;
	}

	public void setOtherId(Long otherId) {
		this.otherId = otherId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Long updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}

}